#include <iostream>
#include <cmath>
using namespace std;

#include "TMLib.h"
using namespace tmlib;

#include "game-app-manager.h"
#include "event-dispatcher-test.h"
#include "free-list-test.h"
#include "animator-test.h"

int main(int argc, char** argv)
{
    GameAppManagerHolder::create();

    //theGameAppManager.push(new FreeListTest());
    theGameAppManager.push(new EventDispatcherTest());
    //theGameAppManager.push(new AnimatorTest());

    theGameAppManager.initialize(argc, argv);
    theGameAppManager.run();
    theGameAppManager.finalize();

    GameAppManagerHolder::destroy();

    return 0;
}
